using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace LdtJudge.DataEngine.Model.DataModel.SystemtableModel {

	/// <summary>
	/// 逻辑段设置
	/// </summary>
	[JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
	public partial class SYS_CaseType_DocType_LogicParag {

		[JsonProperty, Column(DbType = "varchar(50)", IsPrimary = true, IsNullable = false)]
		public string CDL_ID { get; set; }

		[JsonProperty, Column(StringLength = 100)]
		public string CD_Code { get; set; }

		/// <summary>
		/// 外键 SYS_CaseType_DocType。Cd_id
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(50)")]
		public string CD_ID { get; set; }

		[JsonProperty, Column(StringLength = 100)]
		public string CDL_Code { get; set; }

		/// <summary>
		/// 层级
		/// </summary>
		[JsonProperty, Column(StringLength = 100)]
		public string CDL_Level { get; set; }

		[JsonProperty, Column(StringLength = 100)]
		public string CDL_Name { get; set; }

		/// <summary>
		/// 父CDL_ID
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(50)")]
		public string CDL_ParentID { get; set; }

		[JsonProperty, Column(DbType = "varchar(100)")]
		public string CDL_RelatRegexInfoCode { get; set; }

		[JsonProperty, Column(StringLength = 100)]
		public string CDL_Remark { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,1)")]
		public decimal? CDL_ShowIndex { get; set; }

	}

}
